package com.qf.service;

import com.qf.pojo.Cart;

import java.util.List;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.service
 * @Description:
 * @Date 2022/10/3 14:54
 */
public interface CartService {

     void add(Cart cart);

     void update(Cart cart);

     Cart checkCartByIdAndPid(int uid, int goodId);

     List<Cart> findByUid(int id);

    void deleteGood(int id, int pid);

    void clearCart(int id);

}
